hc strings (lstrings vers. 2)


string of characters where each character may have 1,000 possible values

decimal numbers 10, hex numbers 16, uppercase alpha 26 etc.


a = b

a[12] = 132


substr(a,12,4)




2-byte chars
4-byte leading length value

ascii, values 0 to 000'ands


substr, length, overwrite item, concatenation, s1[x] = 19,
	insert str at position x, delete n chars starting at position k

tokenise based on separators or reg. exprs



print string formats



----------------------------


dates

	`1990-12-02`

	var = date

	date + num
	date - num
	date - date
	
	<, =, >= etc

	year * 365 + year/4 - year/100 + year/400 + month-num-days-to-start + days

	or

	year*372 + month*31 + day

	year = date / 371
	month = (date - year*372)/ 31
	day = ...


	`1992-12-01 3:47pm`

	last_day(year,month)	' last day of the month, e.g. 30, 31, 28
	dmy(day,month,year)
	day( )
	month( )
	year( )
	current_date
	is_leap_year()